package com.gopay.common.domain.cbrmb.internationalcard.masapay;

import java.io.Serializable;

/**
 * query refund request dto
 * 
 * @ClassName: MasaPayQueryRefundOrderDTOReq 
 * @Description: TODO 
 * @author gd.cui 
 * @date 
 */
public class MasaPayQueryRefundOrderDTOReq implements Serializable{
	/**
	 * @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么)
	 */
	private static final long serialVersionUID = 1L;
	// 基本参数
	private String version = "1.9";
	private String merchantId = "801128553112016";
	private String charset = "utf-8";
	private String language = "cn";
	private String signType = "SHA256";
	// business
	private String queryType = "0";
	private String refundOrderNo;
	private String startTime;
	private String endTime;
	private String signMsg;

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getMerchantId() {
		return merchantId;
	}

	public void setMerchantId(String merchantId) {
		this.merchantId = merchantId;
	}

	public String getCharset() {
		return charset;
	}

	public void setCharset(String charset) {
		this.charset = charset;
	}

	public String getLanguage() {
		return language;
	}

	public void setLanguage(String language) {
		this.language = language;
	}

	public String getSignType() {
		return signType;
	}

	public void setSignType(String signType) {
		this.signType = signType;
	}

	public String getQueryType() {
		return queryType;
	}

	public void setQueryType(String queryType) {
		this.queryType = queryType;
	}


	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getSignMsg() {
		return signMsg;
	}

	public void setSignMsg(String signMsg) {
		this.signMsg = signMsg;
	}
	

	public String getRefundOrderNo() {
		return refundOrderNo;
	}

	public void setRefundOrderNo(String refundOrderNo) {
		this.refundOrderNo = refundOrderNo;
	}

	@Override
	public String toString() {
		return "MasaPayQueryRefundOrderDTOReq [version=" + version + ", merchantId=" + merchantId + ", charset=" + charset
				+ ", language=" + language + ", signType=" + signType + ", queryType=" + queryType + ", refundOrderNo="
				+ refundOrderNo + ", startTime=" + startTime + ", endTime="
				+ endTime + ", signMsg=" + signMsg + "]";
	}

	public String signatureData(String key) {
		return "version=" + version + "&merchantId=" + merchantId + "&charset=" + charset + "&language=" + language
				+ "&signType=" + signType + "&queryType=" + queryType + "&refundOrderNo=" + refundOrderNo + "&key="
				+ key;
	}
}
